import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";

// 查询店铺游戏
export function getGameList() {
  return request({
    url: '/shop/game/index',
    method: 'get'
  })
}

// 更新店铺游戏
export function updateGames(data) {
  return request({
    url: '/shop/game',
    method: 'put',
    data: data
  })
}

// 删除游戏管理
export function delGame(gameId) {
  return request({
    url: '/shop/game/' + gameId,
    method: 'delete'
  })
}

